// component/info/info.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {

  },

  /**
   * 组件的初始数据
   */
  data: {
    show: false,
    imgList: [{
        img: ""
      },
      {
        img: ""
      },
      {
        img: ""
      },
    ],
    hotel_info: [
      {
        left: "楼层",
        right: "12-17层"
      },
      {
        left: "加床政策",
        right: "不可加床"
      },
      {
        left: "无烟楼层",
        right: "该房型可安排无烟楼层,该房型可安排无烟楼层,该房型可安排无烟楼层"
      },
      {
        left: "建筑面积",
        right: "56平方米"
      }
    ],
    policy_info:[
      {
        left: "无烟楼层",
        right: "12-17层"
      },
      {
        left: "入离时间",
        right: "12-17层"
      },
      {
        left: "膳食安排",
        right: "12-17层"
      },
      {
        left: "加床政策",
        right: "12-17层"
      },
    ]
  },

  /**
   * 组件的方法列表
   */
  methods: {
    //切换是否显示
    show() {
      this.setData({
        show: !this.data.show
      })
    }
  }
})